<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>季节</title>
    <script src="jquery-1.12.4.min.js"></script>
</head>
<body>
    <input type="text" class="input-season">
    <button class="btn-set-season">设置</button>

    <script>
    //绑定事件
   
    $('.btn-set-season').click(function(){
      $.ajax(
          {
              url:'http://10.1.93.126:8082/SetSeason.do',
              type:'post',
              data:{"Season": $('.input-season').val()},
              success:function(res){
                  console.log(res);
              },
              error:function(err){
                  console.log(err);
              }
          }
      );  
    })
    </script>
</body>
</html>